package com.cj.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源需求信息表
 * </p>
 *
 * @author yangh73
 * @since 2021-01-12
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BusReqEntity对象", description="资源需求信息表")
public class BusReqEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "需求id")
    @TableId(value = "req_id", type = IdType.AUTO)
    private Long reqId;

    @ApiModelProperty(value = "需求类型")
    private Long reqType;

    @ApiModelProperty(value = "需求名称")
    private String reqName;

    @ApiModelProperty(value = "需求级别")
    private String classes;

    @ApiModelProperty(value = "需求标签")
    private String label;

    @ApiModelProperty(value = "需求描述")
    private String content;

    @ApiModelProperty(value = "需求状态（00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽）")
    private String status;

    @ApiModelProperty(value = "发布企业")
    private Long publishDeptId;

    @ApiModelProperty(value = "发布人id")
    private Long publishUserId;

    @ApiModelProperty(value = "发布人名称")
    private String publishUserName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "接收企业")
    private Long receiveDeptId;

    @ApiModelProperty(value = "接收人id")
    private Long receiveUserId;

    @ApiModelProperty(value = "接收人名称")
    private String receiveUserName;

    @ApiModelProperty(value = "接收时间")
    private LocalDateTime receiveTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "浏览次数")
    private Integer browseNum;

    @ApiModelProperty(value = "评论次数")
    private Integer commentNum;

    @ApiModelProperty(value = "收藏次数")
    private Integer storeNum;

    @ApiModelProperty(value = "使用状态（0正常 1停用）")
    private String useStatus;


}
